﻿<UserControl x:Class="CPPEI.Coolzon.Theme.Fashion.MainViewControl.OperationNavigation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="60" d:DesignWidth="1366">
    <DockPanel x:Name="dockPanel">
        <DockPanel.Resources>
            <Style TargetType="Grid" x:Key="gdFunc">
                <Setter Property="Height" Value="38" />
                <Setter Property="Width" Value="144" />
                <Setter Property="Margin" Value="20,0,0,0" />
                <Setter Property="DockPanel.Dock" Value="Left" />
                <Setter Property="Background">
                    <Setter.Value>
                        <ImageBrush ImageSource="/CPPEI.Coolzon.Theme.Fashion;component/Images/but.png" />
                    </Setter.Value>
                </Setter>
            </Style>

            <Style TargetType="Grid" x:Key="gdSelectFunc">
                <Setter Property="Height" Value="49" />
                <Setter Property="Width" Value="144" />
                <Setter Property="Margin" Value="20,0,0,10" />
                <Setter Property="DockPanel.Dock" Value="Left" />
                <Setter Property="Background">
                    <Setter.Value>
                        <ImageBrush ImageSource="/CPPEI.Coolzon.Theme.Fashion;component/Images/but2.png" />
                    </Setter.Value>
                </Setter>
            </Style>

            <Style TargetType="Image" x:Key="preSelect" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/72.png" />
            </Style>
            <Style TargetType="Image" x:Key="refreshSelect" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/62.png" />
            </Style>
            <Style TargetType="Image" x:Key="magnifierSelect" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/52.png" />
            </Style>
            <Style TargetType="Image" x:Key="laserPenSelect" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/g2.png" />
            </Style>

            <Style TargetType="Image" x:Key="pre" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/7.png" />
            </Style>
            <Style TargetType="Image" x:Key="refresh" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/6.png" />
            </Style>
            <Style TargetType="Image" x:Key="magnifier" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/5.png" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsShowMagnifier}" Value="True">
                        <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/52.png" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
            <Style TargetType="Image" x:Key="laserPen" >
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/g1.png" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsShowLaserPen}" Value="true">
                        <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Fashion;component/Images/g2.png" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </DockPanel.Resources>
        <DockPanel.Background>
            <ImageBrush ImageSource="/CPPEI.Coolzon.Theme.Fashion;component/Images/bottom-bar.png" />
        </DockPanel.Background>

        <Grid x:Name="spScene" Tag="func" Style="{StaticResource gdFunc}" MouseLeftButtonDown="spScene_MouseLeftButtonDown" >
            <Image  Source="/CPPEI.Coolzon.Theme.Fashion;component/Images/1.png" Width="24" Height="24" HorizontalAlignment="Left" Margin="10,0,0,0" />
            <TextBlock Text="场景选择" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontFamily="微软雅黑" FontWeight="Bold" FontSize="18" Margin="5" />
        </Grid>

        <Grid x:Name="spText" Tag="func" Style="{StaticResource gdFunc}" MouseLeftButtonDown="spText_MouseLeftButtonDown">
            <Image  Source="/CPPEI.Coolzon.Theme.Fashion;component/Images/2.png" Width="24" Height="24"  HorizontalAlignment="Left" Margin="10,0,0,0" />
            <TextBlock Text="展示提纲" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontFamily="微软雅黑" FontWeight="Bold" FontSize="18" Margin="5" />
        </Grid>

        <Grid x:Name="spInteraction" Tag="func" Style="{StaticResource gdFunc}" MouseLeftButtonDown="spInteraction_MouseLeftButtonDown">
            <Image x:Name="interactionImg"  Source="/CPPEI.Coolzon.Theme.Fashion;component/Images/3.png" Width="24" Height="24" HorizontalAlignment="Left"  Margin="5,0,0,0" />
            <TextBlock x:Name="interactionText" Text="自由交互模式" Margin="20,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Center"  Foreground="White" FontFamily="微软雅黑" FontWeight="Bold" FontSize="18"/>
        </Grid>

        <Grid x:Name="spFunction" Tag="func" Style="{StaticResource gdFunc}" MouseLeftButtonDown="spFunction_MouseLeftButtonDown">
            <Image  Source="/CPPEI.Coolzon.Theme.Fashion;component/Images/4.png" Width="24" Height="24" HorizontalAlignment="Left"  Margin="10,0,0,0" />
            <TextBlock Text="系统功能" VerticalAlignment="Center" HorizontalAlignment="Center"  Foreground="White" FontFamily="微软雅黑" FontWeight="Bold" FontSize="18" Margin="5" />
        </Grid>
        <StackPanel VerticalAlignment="Center" Name="_ctlExtFuncContainer">
    
        </StackPanel>

        <Image x:Name="preImage" Tag="img" MouseDown="preImage_MouseLeftButtonDown" MouseEnter="preImage_MouseEnter" MouseLeave="preImage_MouseLeave" TouchUp="preImage_TouchUp" TouchEnter="preImage_TouchEnter" Style="{StaticResource pre}" Height="40" Width="40" Margin="0,0,20,0" VerticalAlignment="Center" DockPanel.Dock="Right"/>
        <Image x:Name="refreshImg" Tag="img" MouseDown="refreshImg_MouseLeftButtonDown" MouseEnter="refreshImg_MouseEnter" MouseLeave="refreshImg_MouseLeave" TouchUp="refreshImg_TouchUp" TouchEnter="refreshImg_TouchEnter" Style="{StaticResource refresh}" Height="40" Width="40" Margin="0,0,20,0" DockPanel.Dock="Right" VerticalAlignment="Center"/>
        <Image x:Name="magnifierImg" Tag="img" MouseDown="magnifierImg_MouseLeftButtonDown" MouseLeave="magnifierImg_MouseLeave" MouseEnter="magnifierImg_MouseEnter" Style="{StaticResource magnifier}" Height="40" Width="40" DockPanel.Dock="Right" Margin="0,0,20,0" VerticalAlignment="Center"/>
        <Image x:Name="laserPenImg" Tag="img" MouseDown="LaserPenImg_MouseLeftButtonDown" MouseLeave="laserPenImg_MouseLeave" MouseEnter="laserPenImg_MouseEnter" Style="{StaticResource laserPen}" Height="40" Width="40" DockPanel.Dock="Right" Margin="0,0,20,0" VerticalAlignment="Center"/>
        <StackPanel></StackPanel>
    </DockPanel>
</UserControl>
